﻿<%@ Page Title="" Language="C#" MasterPageFile="../Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="sendmsg">
        <% var participators = ViewData["participators"] as ParticipatorsInfo; %>
        <%if (!participators.IsEmpty())
          { %>
        <div class="sec">
            <b>发送给：</b>
            <% foreach (var group in participators.GroupParticipators)
               {%>
            <%=Html.SimpleGroupLabel(group)%>
            <%}
               foreach (var user in participators.UserParticipators)
               {%>
            <%= Html.SimpleUserLabel(user)%>
            <%}
            %>
        </div>
        <% } %>
        <div class="sec">
        <form method="post" action="/Message/SendAdvMessage">
        <%= Html.Hidden("memberstring") %>
        <textarea name="messageText" cols="20" rows="3"></textarea><br />
        <input type="submit" class="button" value="发送" />&nbsp;
        <%= Html.CheckBox("needConfirm") %><label for="needConfirm">需要确认</label>
        </form>
        </div>
    </div>
</asp:Content>
